
" - For Neovim: stdpath('data') . '/plugged'
" - Avoid using standard Vim directory names like 'plugin'
"
set rtp += "~/.opam/default/share/merlin/vim"
call plug#begin('~/.config/nvim/plugged')

Plug 'tpope/vim-surround'
Plug 'morhetz/gruvbox'
" 使用 gc 和 gC 注释选中行，一个是 块注释， 一个是行注释
Plug 'tpope/vim-commentary'

Plug 'scrooloose/nerdtree', { 'on':  'NERDTreeToggle' }
let NERDTreeIgnore=['\.pyc$', '\~$'] "ignore files in NERDTree

Plug 'Chiel92/vim-autoformat', {'for': ['c', 'cpp', 'python', 'rust']}

Plug 'neoclide/coc.nvim', {'branch': 'release'}

" Initialize plugin system
call plug#end()
